function checkpsw(){
    var psw1=document.getElementsByName("password")[0].value;
    var psw2 = document.getElementsByName("ConfirmPassword")[0].value;
    if (psw1 != psw2) {
        $("#passwdc-warn").css("display","block");
    } else {
        $("#passwdc-warn").css("display","none");
    }
}
function CheckEmail() {
    var email = document.getElementsByName("Email")[0].value;
    var regex = /^([0-9A-Za-z\-_\.]+)@([0-9a-z]+\.[a-z]{2,3}(\.[a-z]{2})?)$/g;
    if (regex.test(email)) {
        $('#submiter').removeAttr("disabled");
        $("#email-warn").css("display", "none");
    } else {
        $('#submiter').attr("disabled", "true");
        $("#email-warn").css("display", "block");
    }
}